#include<iostream>
using namespace std;
int main(){
    int k,m,n;
    while (cin>>k>>m>>m)
    {
        
    }
    
}